package com.neu.service;

import com.github.pagehelper.PageInfo;
import com.neu.po.User;

public interface UserService {
	//登录查询
	User login(String username,String password);
	//新增、注册查询
	int insert(User user);
	//修改用户
	int update(User user);
	//用户维护查询
	PageInfo<User> getPaged(int pageNum,int pageSize,String keyword);
	//删除用户
	int delete(int id);
}
